From 65b1f41e65d5f20136de0bd01f154ecf4134eaf8 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 14 Jul 2018 01:07:26 +0200 Subject: Rerun all tests --- .../test_status_post[Content warning-private].yaml | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'tests/cassettes/test_status_post[Content warning-private].yaml') diff --git a/tests/cassettes/test_status_post[Content warning-private].yaml b/tests/cassettes/test_status_post[Content warning-private].yaml index 9d2006f..89a7dfd 100644 --- a/tests/cassettes/test_status_post[Content warning-private].yaml +++ b/tests/cassettes/test_status_post[Content warning-private].yaml @@ -1,6 +1,6 @@ interactions: - request: - body: visibility=private&spoiler_text=Content+warning&status=Toot%21 + body: spoiler_text=Content+warning&visibility=private&status=Toot%21 headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] @@ -8,19 +8,19 @@ interactions: Connection: [keep-alive] Content-Length: ['62'] Content-Type: [application/x-www-form-urlencoded] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/statuses response: - body: {string: '{"id":"100154009986515447","created_at":"2018-06-05T20:01:52.176Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content - warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009986515447","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009986515447","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py + body: {string: '{"id":"100369510033033186","created_at":"2018-07-13T21:26:21.914Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content + warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369510033033186","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369510033033186","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John - Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI - walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} + Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI + walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":57,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"5f8dd51433d921bc47beea482da5c0cf"] + ETag: [W/"88ecfa0ffffbb557df7895f8f372d271"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -28,10 +28,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [5b26ce55-da1b-4d02-b480-3c508f031ff6] - X-Runtime: ['0.296039'] + X-Request-Id: [a2f2da6a-3312-4f5c-8b5d-08c81cd37935] + X-Runtime: ['0.140789'] X-XSS-Protection: [1; mode=block] - content-length: ['1505'] + content-length: ['1509'] status: {code: 200, message: OK} - request: body: null @@ -41,15 +41,15 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/statuses/100154009986515447 + uri: http://localhost:3000/api/v1/statuses/100369510033033186 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"06df5aeea2e29f75afd49cbe3b4e233d"] + ETag: [W/"746137eafae715603d3e34ff80efc480"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -57,8 +57,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [819c611f-805a-4075-a865-1908adeba722] - X-Runtime: ['0.077032'] + X-Request-Id: [c43dfcce-5e14-46e6-9a48-3cb6c95b0099] + X-Runtime: ['0.024401'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3